<?php

$code = (isset($error_code)) ? $error_code :0;
$msg  = (isset($error_msg)) ? $error_msg :'通信错误';

?>

<html>
    <head>
        <title>错误</title>
    </head>
    <body>
        <?php echo $msg . ' (ERROR_CODE: 0x' . sprintf('%08s', $code) . ')'; ?>
    </body>
</html>